package com.sport.setting.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.sport.model.application.dtos.SportMemberUpdateDto;
import com.sport.model.common.dtos.ResponseResult;
import com.sport.model.excel.SportGradeUnitDto;
import com.sport.model.excel.SportMemberEnrollExport;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface SportMeetingEnrollService {
    public List<String> getSportItemList();

    List<SportMemberEnrollExport> getSportEnrollExport(SportGradeUnitDto sportGradeUnitDto);

    ResponseResult importData(MultipartFile file);

    ResponseResult getMemberInUnit(String unit, int gender);

    ResponseResult updateEnrollItem(SportMemberUpdateDto sportMemberUpdateDto);

    void exportEnrollWord(HttpServletResponse response , String fileName);

    ResponseResult getEventsGamesToTemplate();
}
